from fastapi import APIRouter
from app.api.endpoints import tasks, targets, users, engines, auth

api_router = APIRouter()

# 注册任务相关路由
api_router.include_router(tasks.router, prefix="/tasks", tags=["tasks"])

# 注册目标相关路由
api_router.include_router(targets.router, prefix="/targets", tags=["targets"])

# 注册用户相关路由
api_router.include_router(users.router, prefix="/users", tags=["users"])

# 注册引擎相关路由
api_router.include_router(engines.router, prefix="/engines", tags=["engines"])

# 注册认证相关路由
api_router.include_router(auth.router, prefix="/auth", tags=["auth"])